/**
 * Created by luxi on 2017/1/3.
 */
var userModle = require('./user-model');
var router = require('express').Router();

router.post('/adduser',function(req, res, next){
    userModle.addUser(req, res, next)
})

router.post('/login', function(req, res, next){
    userModle.login(req, res, next);
})


module.exports = router;